﻿cmake_minimum_required(VERSION 3.5)

project(ConsoleGame VERSION 0.1 LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(PROJECT_SOURCES
        main.cpp
		gamedefine.h
        boxgame.h
		boxgame.cpp
		consolegamebase.cpp
		consolegamebase.h
		consoleimage.cpp
		consoleimage.h
		actor.h
		actor.cpp
		gamestate.h
		gamestate.cpp
		playercontroller.h
		playercontroller.cpp
		gameinstance.h
		gameinstance.cpp
)

include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}/../ReflectX
    )

add_executable(ConsoleGame
    ${PROJECT_SOURCES}
)


target_link_libraries(ConsoleGame ReflectX)
